Module-level declarations
Types
Link copied to clipboard
struct module_args
Link copied to clipboard
object my_blockchain_info
Link copied to clipboard
entity payment_history_entry
Link copied to clipboard
struct xfer_input
Link copied to clipboard
struct xfer_output
Functions
Link copied to clipboard
function _get_asset_balances(account_id: byte_array): list<(id: byte_array, name: text, amount: integer, chain_id: byte_array)>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function process_transfer_output(o: xfer_output, idx: integer, available_assets: map<asset, integer>)
Link copied to clipboard
Queries
Link copied to clipboard
@mount("ft3.get_all_assets")
query get_all_assets(): list<(id: byte_array, name: text, issuing_chain_rid: byte_array)>
Link copied to clipboard
@mount("ft3.get_asset_balance")
query get_asset_balance(account_id: byte_array, asset_id: byte_array): (id: byte_array, name: text, amount: integer, chain_id: byte_array)?
Link copied to clipboard
@mount("ft3.get_asset_balances")
query get_asset_balances(account_id: byte_array): list<(id: byte_array, name: text, amount: integer, chain_id: byte_array)>
Link copied to clipboard
@mount("ft3.get_asset_by_id")
query get_asset_by_id(asset_id: byte_array): (id: byte_array, name: text, issuing_chain_rid: byte_array)
Link copied to clipboard
@mount("ft3.get_asset_by_name")
query get_asset_by_name(name: text): list<(id: byte_array, name: text, issuing_chain_rid: byte_array)>
Link copied to clipboard
Link copied to clipboard
@mount("ft3.get_payment_history")
query get_payment_history(account_id: byte_array, after_block: integer): list<(delta: integer, asset: text, asset_id: byte_array, is_input: boolean, timestamp: integer, block_height: integer, entry_index: integer, tx_rid: byte_array, tx_data: byte_array)>